/// Used to indicate that the data
/// represents a `MsgId`.
pub type MsgIdRef<'a> = &'a [u8];
/// Used to indicate that the data
/// represents a `heraldcore::types::MsgId`
pub type MsgId = Vec<u8>;

/// A null message id, required because the QML runtime
/// has difficulty with bytearrays.
pub const NULL_MSG_ID: [u8; 0] = [];

/// Used to indicate that the data
/// represents a `heraldcore::types::ConversationId`
pub type ConversationIdRef<'a> = &'a [u8];
/// Used to indicate that the data
/// represents a `heraldcore::types::ConversationId`
pub type ConversationId = Vec<u8>;

/// A null conversation id, required because the QML runtime
/// has difficulty with bytearrays.
pub const NULL_CONV_ID: [u8; 0] = [];

/// Used to indicate that the data
/// represents a `herald_common::UserId`
pub type UserId = String;
/// Used to indicate that the data
/// represents a `herald_common::UserId`
pub type UserIdRef<'a> = &'a str;

/// A null conversation id, required because the QML runtime
/// has difficulty with bytearrays.
pub const NULL_USER_ID: &str = "";
